package org.middlewaregr.bp;

import org.middlewaregr.services.ThesesServiceCaller;

public class DoUploadThesesTask {

	public int doUploadTheses(String graduation_date, String file_location,
			String department, String faculty, Integer proposal_id) {
		try {
			return ThesesServiceCaller.createTheses(graduation_date,
					file_location, department, faculty, proposal_id);
		} catch (Exception e) {
			e.printStackTrace();
			return -1;
		}
	}
}
